using System;
using System.Collections.Generic;
using System.Text;

namespace Web.Core.Objects
{
    public class Cart
    {
        int _cartID, _productID, _productAmount, _memberID;

        public int CartID
        {
            get { return _cartID; }
            set { _cartID = value; }
        }

        public int ProductID
        {
            get { return _productID; }
            set { _productID = value; }
        }

        public int ProductAmount
        {
            get { return _productAmount; }
            set { _productAmount = value; }
        }

        public int MemberID
        {
            get { return _memberID; }
            set { _memberID = value; }
        }

        public Cart() { }

        public Cart(int cid, int pid, int pAmount, int mid)
        {
            CartID = cid;
            ProductID = pid;
            ProductAmount = pAmount;
            MemberID = mid;
        }
    }
}
